{% extends 'login.html' %}
{% block content %}
    <form method="post" novalidate>
        {% csrf_token %}
        <div class="form-group mb-3 row">
            <label class="form-label col-3 col-form-label">{{ form.Manager_name.label }}</label>
            <div class="col">
                {{ form.Manager_name }}
                <small class="form-hint">至少六个字符</small>
                <br>
                <span style="color: red">{{ form.Manager_name.errors.0 }}</span>
            </div>
        </div>
        <div class="form-group mb-3 row">
            <label class="form-label col-3 col-form-label">{{ form.Manager_password.label }}</label>
            <div class="col">
                {{ form.Manager_password }}
                <small class="form-hint">至少八个字符，至少一个字母和一个数字</small>
                <br>
                <span style="color: red">{{ form.Manager_password.errors.0 }}</span>
            </div>
        </div>
        <div class="form-footer">
            <button type="submit" class="btn btn-primary">登录</button>
        </div>
    </form>
{% endblock %}